﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="CourseEditBySchoolAccount.aspx.cs" Inherits="WebApplication1.CourseEditBySchoolAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        CourseName：<br />
        <asp:TextBox ID="tbxCourseName" runat="server">
        </asp:TextBox>
        <br />
        CourseType：<asp:TreeView ID="tvTag" runat="server" EnableClientScript="true" OnClick="TreeViewCheckBox_Click(event)"
            ShowCheckBoxes="All" OnTreeNodeCheckChanged="tvTag_TreeNodeCheckChanged">
        </asp:TreeView>
        <br />
        CourseCapability：<asp:TextBox ID="tbxCourseCapability" runat="server" MaxLength="4"
            Width="40px"></asp:TextBox>
        <br />
        CoursePrice：<asp:TextBox ID="tbxCoursePrice" runat="server" MaxLength="8" Width="80px"></asp:TextBox>
        <br />
        Address：<asp:TextBox ID="tbxAddress" runat="server" MaxLength="250" Width="700px"></asp:TextBox>
        <br />
        <script type="text/javascript" language="javascript">
            function TreeViewCheckBox_Click(event) {
                o = (window.event) ? window.event.srcElement : event.target;
                if (o.tagName == "INPUT" && o.type == "checkbox") {
                    __doPostBack("MainContent_tvTag", "");
                }
            } 
        </script>
        <br />
        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="提交" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="取消" />
    </asp:Panel>
</asp:Content>